home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
How Would You Survive?
/
How Would You Survive (1995)(Grolier)[Mac-PC].iso
/
pc
/
shared.dir
/
01938_Script_Global handlers
< prev
next >
Wrap
Text File
|
1995-09-13
|
12KB
|
544 lines
global gWhatMovie, gNewMarker
On VBasicFacts
--goes to Viking Basic Facts Movie
TurnOffPuppets
go movie "VBFACTS"
abort
end
On ABasicFacts
--goes to Aztec Basic Facts Movie
TurnOffPuppets
go movie "ABFACTS"
abort
end
On EBasicFacts
--goes to Egypt Basic Facts Movie
TurnOffPuppets
go movie "EBFACTS"
abort
end
on VGlossary
--goes to Viking Glossary Movie
TurnOffPuppets
go movie "VGloss"
abort
end
on AGlossary
--goes to Aztec Glossary Movie
TurnOffPuppets
go movie "AGloss"
abort
end
on EGlossary
--goes to Egypt Glossary Movie
TurnOffPuppets
go movie "EGloss"
abort
end
on VIndex
--goes to Viking Index Movie
TurnOffPuppets
go movie "VIndex"
abort
end
on AIndex
--goes to Aztec Index Movie
TurnOffPuppets
go movie "AIndex"
abort
end
on EIndex
--goes to Egypt Index Movie
TurnOffPuppets
go movie "EIndex"
abort
end
on VBegin
--goes to Viking Begin Your Life Movie
TurnOffPuppets
go movie "VPAN"
abort
end
on ABegin
--goes to Aztec Begin Your Life Movie
TurnOffPuppets
go movie "APAN"
abort
end
on EBegin
--goes to Egypt Begin Your Life Movie
TurnOffPuppets
go movie "EPAN"
abort
end
on Table
--goes to Table of Contents if you are already in the movie containing the TOC
TurnOffPuppets
go "TableOfContents"
abort
end
on TableCross
--goes to Table of Contents if you are not in the movie containing the TOC
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "TableOfContents" of movie gWhatMovie
abort
end
on VGame
TurnOffPuppets 1
GlobalKill
if not(the moviename contains "GAME") then put the MovieName into gWhatMovie
go movie "VGAME"
abort
end
on EGame
--goes to Egypt Game Movie
TurnOffPuppets 1
GlobalKill
if not(the moviename contains "GAME") then put the MovieName into gWhatMovie
go movie "EGAME"
abort
end
on AGame
--goes to Aztec Game Movie
TurnOffPuppets 1
GlobalKill
if not(the moviename contains "GAME") then put the MovieName into gWhatMovie
go movie "AGAME"
abort
end
on Quitit
TurnOffPuppets
puppetsound "Quit HWS.AIFF"
updatestage
GlobalKill
put the MovieName into gWhatMovie
go movie "FQUIT"
abort
end
on YourFamily
--goes to Your Family if you are already in the correct movie
TurnOffPuppets
go "YourFamily"
abort
end
on YourFamilyCross
--goes to Your Family if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "YourFamily" of movie gWhatMovie
abort
end
on Town
--goes to "Life in a Town" or "Living in a Town" if you are already in the correct movie
TurnOffPuppets
go "Town"
abort
end
on TownCross
--goes to "Life in a Town" or "Living in a Town" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "Town" of movie gWhatMovie
abort
end
on Careers
--goes to "Careers" or "Raiders" if you are already in the correct movie
TurnOffPuppets
go "Careers"
abort
end
on CareersCross
--goes to "Careers" or "Raiders" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "Careers" of movie gWhatMovie
abort
end
on Entertainment
TurnOffPuppets
go "Entertainment"
abort
end
on EntertainmentCross
TurnOffPuppets
go to frame "Entertainment" of movie gWhatMovie
abort
end
on YourHome
TurnOffPuppets
go "YourHome"
abort
end
on YourHomeCross
TurnOffPuppets
go to frame "YourHome" of movie gWhatMovie
abort
end
on OnTheRiver
--goes to "On the River" or "Ships" if you are already in the correct movie
TurnOffPuppets
go "OnTheRiver"
abort
end
on OnTheRiverCross
--goes to "On the River" or "Ships" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "OnTheRiver" of movie gWhatMovie
abort
end
on pharoahs
--goes to "Pharaohs" or "Right and Wrong" or "Government" if you are already in the correct movie
TurnOffPuppets
go "pharoahs"
abort
end
on pharoahsCross
--goes to "Pharaohs" or "Right and Wrong" or "Government" if you are not ¼
already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "pharoahs" of movie gWhatMovie
abort
end
on Sickness
--goes to "Sickness & Health" or "Your Health" if you are already in the correct movie
TurnOffPuppets
go "Sickness"
abort
end
on SicknessCross
--goes to "Sickness & Health" or "Your Health" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "Sickness" of movie gWhatMovie
abort
end
on Food
--goes to "Food & Drink" or "Food" or "Mealtimes" if you are already in the correct movie
TurnOffPuppets
go "Food"
abort
end
on FoodCross
--goes to "Food & Drink" or "Food" or "Mealtimes" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "Food" of movie gWhatMovie
abort
end
on LivingFarmer
--goes to "Living as a Farmer" or "Farming in Iceland" or "Farming the Land" ¼
if you are already in the correct movie
TurnOffPuppets
go "LivingFarmer"
abort
end
on LivingFarmerCross
--goes to "Living as a Farmer" or "Farming in Iceland" or "Farming the Land" ¼
if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "LivingFarmer" of movie gWhatMovie
abort
end
on travelling
--goes to "Traveling" if you are already in the correct movie
TurnOffPuppets
go "travelling"
abort
end
on travellingCross
--goes to "Traveling" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "travelling" of movie gWhatMovie
abort
end
on Superstitions
--goes to "Superstitions" if you are already in the correct movie
TurnOffPuppets
go "Superstitions"
abort
end
on SuperstitionsCross
--goes to "Superstitions" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "Superstitions" of movie gWhatMovie
abort
end
on Women
--goes to "Women in Society" if you are already in the correct movie
TurnOffPuppets
go "Women"
abort
end
on WomenCross
--goes to "Superstitions" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "Women" of movie gWhatMovie
abort
end
on Clothes
--goes to "Your Clothes" or "Clothes" if you are already in the correct movie
TurnOffPuppets
go "Clothes"
abort
end
on ClothesCross
--goes to "Your Clothes" or "Clothes" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "Clothes" of movie gWhatMovie
abort
end
on Workshops
--goes to "Workshops" or "Crafts" if you are already in the correct movie
TurnOffPuppets
go "Workshops"
abort
end
on WorkshopsCross
--goes to "Workshops" or "Crafts" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "Workshops" of movie gWhatMovie
abort
end
on TheGods
--goes to "The Gods" or "Religion" or "Your Beliefs" if you are already in the correct movie
TurnOffPuppets
go "TheGods"
abort
end
on TheGodsCross
--goes to "The Gods" or "Religion" or "Your Beliefs" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "TheGods" of movie gWhatMovie
abort
end
on Mummifications
--goes to "Cradle to Grave" or "Mummifications" if you are already in the correct movie
TurnOffPuppets
go "Mummifications"
abort
end
on MummificationsCross
--goes to "Cradle to Grave" or "Mummifications" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "Mummifications" of movie gWhatMovie
abort
end
on MeasuringTime
--goes to "MeasuringTime" if you arealready in the correct movie
TurnOffPuppets
go "MeasuringTime"
abort
end
on MeasuringTimeCross
--goes to "MeasuringTime" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "MeasuringTime" of movie gWhatMovie
abort
end
on Market
--goes to "At the Market" or "Merchants" if you are already in the correct movie
TurnOffPuppets
go "Market"
abort
end
on MarketCross
--goes to "At the Market" or "Merchants" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "Market" of movie gWhatMovie
abort
end
on EndOfEmpire
--goes to "End of the Empire" if you are already in the correct movie
TurnOffPuppets
go "EndOfEmpire"
abort
end
on EndOfEmpireCross
--goes to "End of the Empire" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "EndOfEmpire" of movie gWhatMovie
abort
end
on Wars
--goes to "Wars" if you are already in the correct movie
TurnOffPuppets
go "Wars"
abort
end
on WarsCross
--goes to "Wars" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "Wars" of movie gWhatMovie
abort
end
on YourPlace
--goes to "Your Place In Society" if you are already in the correct movie
TurnOffPuppets
go "YourPlace"
abort
end
on YourPlaceCross
--goes to "Your Place In Society" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "YourPlace" of movie gWhatMovie
abort
end
on EMap
--goes to Egypt Map Movie
TurnOffPuppets
go movie "EMap"
abort
end
on AMap
--goes to Aztec Map Movie
TurnOffPuppets
go movie "AMap"
abort
end
on VMap
--goes to Viking Map Movie
TurnOffPuppets
go movie "VMap"
abort
end
on VTime
--goes to Viking Timeline Movie
TurnOffPuppets
go movie "VTime"
abort
end
on ATime
--goes to Egypt Timeline Movie
TurnOffPuppets
go movie "ATime"
abort
end
on ETime
--goes to Egypt Timeline Movie
TurnOffPuppets
go movie "ETime"
abort
end
on HowDoWeKnow
--goes to "HowDoWeKnow" if you are already in the correct movie
if gNewmarker = "HowDoWeKnow" then
nothing
else
TurnOffPuppets
go "HowDoWeKnow"
abort
end if
end
on HowDoWeKnowCross
--goes to "How Do We Know" if you are not already in the correct movie
--and gWhatmovie is the movie you want to go to
TurnOffPuppets
go to frame "HowDoWeKnow" of movie gWhatMovie
abort
end
on StartWorld
--goes to "Opening Frame Intro" if you are already in the correct movie
TurnOffPuppets
go "StartWorld"
abort
end
on StartWorldCross
TurnOffPuppets
go movie gWhatMovie
end
on DoNothing
nothing
end